export default (app: any) => {
    app.directive('focus', {
      mounted(el: HTMLElement) {
        nextTick(()=>{
            el?.focus()
        })
      },
    })
  }